<?php

defined('BASEPATH') OR exit('No direct script access allowed');

// ------------------------------------------------------------------------

if ( ! function_exists('common_show_error'))
{
	function common_show_error($error)
	{
		return (isset($error) && !empty($error) ? "<ul class='error'>".$error."</ul>" : '');
	}
}